<div ng-controller="administratorEditCtrl" class="w_administratorcreate cry">
    <div class="cry_title">
        <h3 class="mainTitle"> 
            添加管理员
        </h3>
        <div class="tools">
            <ul>
                <li>
                    <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="container-fluid bg-white">
        <form role="form" class="form-horizontal cry_form">
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    管理员姓名:
                </label>
                <div class="col-sm-3">
                    <input type="text" class="control-label text-left ng-pristine ng-untouched ng-valid ng-valid-maxlength" placeholder="请输入管理员姓名" ng-model="name">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3" >
                    管理员角色:
                </label>
                <div class="col-sm-3">
                    <select class="ng-pristine ng-valid ng-touched" ng-model="rid_s" ng-options="roleId.id as roleId.name for roleId in role">
                        <option value="" class="">----选择管理员----</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    登录账号:
                </label>
                <div class="col-sm-3">
                    <input type="text" class="control-label text-left ng-pristine ng-untouched ng-valid ng-valid-maxlength" placeholder="请输入手机号" ng-model="phone">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    密码:
                </label>
                <div class="col-sm-3">
                    <input type="password" class="control-label text-left ng-pristine ng-untouched ng-valid ng-valid-maxlength" placeholder="6~16位字母和数字" ng-model="pwd">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    确认密码:
                </label>
                <div class="col-sm-3">
                    <input type="password" class="control-label text-left ng-pristine ng-untouched ng-valid ng-valid-maxlength" placeholder="再次输入密码" ng-model="Cpwd">
                </div>
            </div>
            <div class="form-group" ng-show="rid_s==2">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    管理区域:
                </label>
                <div class="col-sm-10">
                        <select class="ng-pristine ng-valid ng-touched"  ng-model="item"  ng-options="item.city_id as item.city_name for item in city">
                            <option value="" class="">----选择省----</option>
                        </select>
                        <select class="ng-pristine ng-valid ng-touched" ng-model="item_1" ng-options="item_1.city_id as item_1.city_name for item_1 in city_1">
                            <option value="" class="">----选择市----</option>
                        </select>
                        <div>
                            <div ng-repeat="value in city_2" class="checkbox clip-check check-success checkbox-inline">
                                <input ng-model="arrCity[value.city_id]" type="checkbox" id="{{value.city_id}}" ng-change="checkeSelect(arrCity[value.city_id],value.city_id)">
                                <label for="{{value.city_id}}">
                                    {{value.city_name}}
                                </label>
                            </div>
                        </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label cry_label" for="inputEmail3">
                </label>
                <div class="col-sm-10">
                    <button type="button" class="btn btn-primary" ng-click="submit()">
                        保存
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>